#pragma once
class netEvent
{
public:

	virtual ~netEvent(){}
	virtual int handleOpen(){return 0;}
	virtual int handleClose( void *arg ){return 0;}
	virtual int handleRead( char *buf, unsigned int size, void *args ){return 0;}
	virtual int handleWrite(){return 0;}
}; 

class timeEvent
{
public:
	virtual ~timeEvent(){}
	virtual int handleTimeout(int id){return 0;}
}; 
